home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / terms / kermit / b / ckvker.bwr < prev    next >
Encoding:
Text File  |  1993-07-09  |  13.3 KB  |  315 lines

  1. CKVKER.BWR          "Beware File" for C-Kermit Version 5A        -*- text -*-
  2.  
  3.             (Open)VMS VERSION FOR DEC VAX AND AXP
  4.  
  5. Applies to 5A(189)
  6. Last update: Tue Jul  6 11:14:18 1993
  7.  
  8. Authors: Frank da Cruz, Christine M. Gianone (Columbia University, NYC);
  9.          Terry Kennedy (Saint Peters College, Jersey City, NJ).
  10.  
  11.   Copyright (C) 1985, 1993, Trustees of Columbia University in the City of New
  12.   York.  The C-Kermit software may not be, in whole or in part, licensed or
  13.   sold for profit as a software product itself, nor may it be included in or
  14.   distributed with commercial products or otherwise distributed by commercial
  15.   concerns to their clients or customers without written permission of the
  16.   Office of Kermit Development and Distribution, Columbia University.  This
  17.   copyright notice must not be removed, altered, or obscured.
  18.  
  19. Report problems, suggestions, fixes, etc, to:
  20.  
  21.   Frank da Cruz
  22.   Columbia University
  23.   Academic Information Systems (AcIS)
  24.   612 West 115th Street
  25.   New York, NY  10025  USA
  26.  
  27.   Internet:         fdc@columbia.edu
  28.   BITNET/EARN/CREN: FDCCU@CUVMA
  29.   Fax:              +1 212 662-6442
  30.  
  31. VMS C-Kermit installation instructions are in the file CKVKER.INS.  Please
  32. be sure you have read that file before concluding that C-Kermit isn't working
  33. right on VMS.
  34.  
  35. Note: "VMS" as used in this document refers to both VMS and OpenVMS on both
  36. VAX and AXP (Alpha) processors.  Most of the words in the previous sentence
  37. are trademarks (TM) of Digital Equipment Corporation.
  38.  
  39.  
  40. DOCUMENTATION
  41.  
  42. C-Kermit 5A is documented in the book "Using C-Kermit" by Frank da Cruz
  43. and Christine M. Gianone, Digital Press, Burlington, MA, USA.  Digital
  44. Press ISBN: 1-55558-108-0; Prentice-Hall ISBN: 0-13-037490-3.  Price: US
  45. $34.95.  In USA, call DECdirect at 1-800-344-4825, refer to order number
  46. EY-J896E-DP.  Available: January 1993.
  47.  
  48.  
  49. COMMAND PARSER
  50.  
  51. VMS-style command-line editing (arrow keys, etc) is not supported.  Kermit
  52. does not use the VMS F$PARSE facility -- it has its own command parser that
  53. lacks certain features of F$PARSE (arrow-key editing, command recall, etc) but
  54. has many other features that F$PARSE lacks: "?"-help, keyword and filename
  55. completion, filename menus, variables, macros, etc.
  56.  
  57. Contrary to expectations of VMS users, the MSEND command does NOT use
  58. commas to separate file specifications.  E.g. say this:
  59.  
  60.   C-Kermit>msend ckc*.% cku*.% ckv*.%
  61.  
  62. not this:
  63.  
  64.   C-Kermit>msend ckc*.%, cku*.%, ckv*.%
  65.  
  66. CD (Change Directory) to a DECnet node does not work in VMS C-Kermit.
  67.  
  68. OPEN !WRITE does not work in VMS C-Kermit.
  69.  
  70. APPEND operations (such as OPEN APPEND and SET FILE COLLISION APPEND) do
  71. not work in VMS; they always create a new version of the file rather than
  72. appending to the most recent version.
  73.  
  74. VMS C-Kermit does NOT provide program status codes in the normal VMS manner.
  75. Rather, it returns the codes described on pp. 323-324 of "Using C-Kermit", by
  76. assigning them to the symbol CKERMIT_STATUS.  For example, if a RECEIVE
  77. operation failed:
  78.  
  79.   $ show symbol ckermit_status
  80.     CKERMIT_STATUS == "4"
  81.   $
  82.  
  83. Arguments supplied to the EXIT (or QUIT) commands take precedence:
  84.  
  85.   C-Kermit>exit 1234
  86.   $ show symbol ckermit_status
  87.     CKERMIT_STATUS == "1234"
  88.   $
  89.  
  90. If C-Kermit encounters no execution errors, and EXIT (QUIT) is given without
  91. an operand, then:
  92.  
  93.   C-Kermit>exit
  94.   $ show symbol ckermit_status
  95.     CKERMIT_STATUS == "0"
  96.   $
  97.  
  98. You can use the CKERMIT_STATUS symbol as in this DCL example:
  99.  
  100.   $ kermit -s oofa.txt
  101.   $ if ckermit_status .eq. 0 then goto ok
  102.  
  103.  
  104. GENERAL FAILURES
  105.  
  106. ...can occur for many reasons beyond Kermit's control, many of them related to
  107. VMS system parameters or limits on the user or process: disk quotas, user
  108. pagefile quotas (AUTHORIZE parameter PGFLQUO), system pagefile space filling
  109. up, etc.  See CKVINS.DOC (installation instructions) for details.
  110.  
  111. To increase a user's pagefile quota, tell AUTHORIZE to MODIFY
  112. username/PGFLQUO=number.  If the system itself is running out of pagefile
  113. space (which would cause the system to grind to a halt and eventually crash).
  114. You can check the system pagefiles with SHOW MEMORY/FILE: add up the "Free"
  115. numbers for the [*]*PAGEFILE.SYS files and see if the total is big enough
  116. (there should normally be at least 100K free pages on an active system).  If
  117. not, the system manager would use the procedure @SYS$UPDATE:SWAPFILES to
  118. resize the files.
  119.  
  120.  
  121. FILE TRANSFER
  122.  
  123. File transfer modes (TEXT vs BINARY) are set automatically for each when
  124. sending.  The SET FILE TYPE BINARY and SET FILE TYPE TEXT commands are ignored
  125. when sending files.
  126.  
  127. Incoming files are rejected if the available space on the disk device is less
  128. than the size of the file.  However, the user's disk quota is not checked.
  129. Quota checking could erroneously report that a user couldn't store a file for
  130. a number of reasons: for example, the user has the EXQUOTA privilege, C-Kermit
  131. is installed with EXQUOTA privilege (not recommended!), overdraft, etc.
  132. Because of the large potential for denying a transfer that would fit, the file
  133. is accepted regardless of the disk quota.  This is consistent with the way
  134. other VMS utilities work.
  135.  
  136. The file size shown in the file transfer display when sending a file might
  137. be incorrect under certain conditions (but the file is still transferred
  138. correctly).
  139.  
  140. Incoming files, if accepted, are always stored as a new file with the next
  141. highest version number, even when FILE COLLISION is set to OVERWRITE or
  142. or RENAME.
  143.  
  144. Transfer of VFC (Variable with Fixed Control) files, such as those created
  145. by DCL, is problematic, since the meaning of the control bytes is defined by
  146. the application.
  147.  
  148. ZIP files: If you have trouble transferring ZIP files into or out of VMS
  149. using BINARY mode, use IMAGE mode instead (SET FILE TYPE IMAGE).  The same
  150. applies to binary files created by VMS UNZIP.
  151.  
  152. When transferring files in LABELED mode, the file transfer display will show
  153. the name the file was sent as, not the "true" name within the labeled file.
  154. Also, note that a transfer may fail with an obscure error (can't create output
  155. file) if there is something incorrect with the label information (for example,
  156. if you specified that the file should be restored to the original directory
  157. and you don't have privilege to write to that directory on this system).
  158.  
  159. DEC PATHWORKS file services normally create files in stream mode,  but
  160. this can be overridden when the file service is created:
  161.  
  162.   $ ADMIN/PCSA
  163.   PCSA> SET FILE_SERVER SERVICE service-name/ATTRIBUTES=SEQUENTIAL_FIXED
  164.  
  165. The normal stream files will be treated as TEXT by Kermit.  To transfer
  166. PATHWORKS files that are really binary, such as executables, use IMAGE mode.
  167.  
  168. Reportedly, when transferring files TO a VMS system over a LAT connection (for
  169. example, from a PC equipped with PATHWORKS and MS-DOS Kermit), packet sizes
  170. greater than 255 (some reports say 70!) cannot be used, irrespective of the
  171. VMS SYSGEN parameters regarding MAXBUF, etc.  The problem seems to lay in the
  172. LAT protocol itself, or DEC's implementation of it, whereby applications are
  173. not informed of -- and cannot find out -- limits on transmission.
  174.  
  175.  
  176. SERIAL COMMUNICATIONS
  177.  
  178. If your terminal is set to /ESCAPE (validate escape sequences), C-Kermit gives
  179. an error message, "contti.iosb invalid escape sequence", because it is doing
  180. byte-by-byte output and VMS wants to see the whole sequence in one gulp.  The
  181. workaround is to set the terminal to /NOESCAPE before starting C-Kermit.  The
  182. fix is to add /NOESCAPE to the list of modes saved/restored for communication.
  183. (NOTE: This was done in edit 189).
  184.  
  185. If you CONNECT to a modem or other device, and see a neverending stream of
  186. messages, the terminal device probably has the /LOCAL_ECHO characteristic.
  187. As of edit 189, C-Kermit attempts to turn off this characteristic, but since
  188. it is a /PERMANENT characteristic, some degree of privilege might be required,
  189. and this operation might fail for nonprivileged users.
  190.  
  191. The SET CARRIER and SET FLOW RTS/CTS commands are not supported in the
  192. VMS version of C-Kermit.
  193.  
  194. Certain operations driven by RS-232 modem signal do not work on VAXstations or
  195. other DEC platforms whose serial interfaces use MMP connectors (DEC version of
  196. RJ45 telephone jack with with offset tab).  These connectors convey only the
  197. DSR and DTR modem signals, but not carrier (CD), RTS, CTS, or RI.
  198.  
  199. When used on a serial communication device, the HANGUP command (as well as
  200. the CONNECT-mode escape command, H, and the HANGUP done by the DIAL command
  201. when DIAL HANGUP is ON) takes at least 3 seconds.  This is a FEATURE of VMS.
  202.  
  203. During terminal connection (SET LINE) and file transfer over a serial device,
  204. buffer-overrun or BYTLM-quota-exceeded messages might appear.  It is essential
  205. that any VMS system that needs to use Kermit or any other program to transfer
  206. files over serial devices, especially when long packets or sliding windows are
  207. to be used, be SYSGEN'd with large typehead buffers, and that user accounts
  208. be given large BYTLM quotas.  See CKVINS.DOC.
  209.  
  210.   Note that LATmaster software (optional as of VMS V5.4-1, mandatory as of 
  211.   VMS V5.5) requires a minimum alt-typeahead buffer of 2064 bytes. Thus, you 
  212.   may already have increased the size.  Kermit needs packet-size times window-
  213.   size plus a small amount of overhead.
  214.  
  215. To get around problems on systems where users have small BYTLM quotas, the
  216. txbufr() routine in CKVTIO.C has been limited to reading 512-byte chunks at
  217. a time from the communication device.  This does not appear to have an adverse
  218. affect on performance, but time will tell.  If it does, a quick fix is to
  219. recompile CKVTIO.C, defining CKV_IO_SIZE to be something bigger, e.g.
  220.  
  221.   /define=("CKV_IO_SIZE=8192")
  222.  
  223. or whatever.  A better fix might be to have txbufr() check the user's
  224. remaining BYTLM quota before doing each read.  But that might be more expense
  225. (overhead) than it is worth.
  226.  
  227. It is possible to SET LINE to an LTA (LAT) device, but correct operation
  228. is reportedly dependent on the version of DECserver code and the VMS
  229. version, and which patches have been applied.  Correct operation has been
  230. verified for DECserver 200 software V3.1-37 and VMS V5.4-3, unpatched.
  231.  
  232. If you use C-Kermit to SET LINE to an LTA device and receive a hangup message
  233. immediately:
  234.  
  235.   contti: ttiosb.status: %SYSTEM-F-HANGUP, data set hang-up
  236.  
  237. then:
  238.  
  239.  . Make sure you've created an LTA port on your VMS system which is
  240.    mapped to the DECserver port that the modem is connected to.
  241.  
  242.  . Can you use the VMS SET HOST/DTE command to connect to that line? If you
  243.    get the same error (which you should) there's a configuration problem in
  244.    the DECserver setup for that port.
  245.  
  246.  . Are you trying to use that modem for both dial-in and dial-out
  247.    configurations?  Try configuring different ports for dial-in and dial-out.
  248.  
  249.  . In order for VMS to connect to the dial-out modem, it needs to see the
  250.    carrier detect signal asserted.  If that signal isn't asserted, the server
  251.    will return a "hangup" error on the first character sent to the port.
  252.    C-Kermit's SET CARRIER command has no effect in VMS.
  253.  
  254.  . Additionally, some modems want to see various settings on RTS/CTS and
  255.    DSR/DTR before they will accept input.  If you have a breakout box and
  256.    someone who is skilled at using it, you can usually resolve these problems.
  257.  
  258. Reportedly, if you have CONNECTed out through a LAT device, the CONNECT-mode
  259. escape command to hang up (<esc-char>H) does not work.  Reason: unknown.
  260. Cure: unknown (The LAT programming interface is very poorly documented).
  261. Workaround: SET LINE <cr> to close the SET LINE device.
  262.  
  263.  
  264. NETWORK COMMUNICATIONS
  265.  
  266. There is (as yet) no support for initiating connections over DECnet, nor for
  267. VAX/PSI.  Certain types of TCP/IP are supported (including DEC TCP/IP (UCX),
  268. TGV MultiNet, and Wollongong WIN/TCP), other types: not yet (Fusion, CMU/Tek).
  269.  
  270. If you enter the VAX from elsewhere through a TELNET connection, and the VAX
  271. is running CMU/Tek, Fusion, or DEC TCP/IP (UCX), you might notice that file
  272. transfers into the VAX fail almost immediately.  If this happens, it is most
  273. likely the result of small VMS typeahead buffers.  See CKVINS.DOC for how to
  274. increase typeahead buffer sizes, or work around the problem by telling VMS
  275. C-Kermit to ask for smaller packets, for example:
  276.  
  277.   C-Kermit>set receive packet-length 65  ; (Use the longest length that works)
  278.  
  279. Reportedly, when building C-Kermit with WIN/TCP support with older versions
  280. (5.1 and earlier?) of WIN/TCP, the symbol WIN$PERROR is undefined at link
  281. time and the build fails.  Workaround: change the one reference to
  282. win$perror(), which occurs in the contti() function in CKVTIO.C, to be
  283. simply perror().
  284.  
  285. Although VMS C-Kermit can be built on the Alpha with TGV Multinet support,
  286. TCP/IP connections cannot be made.  The problem has not yet been isolated, but
  287. probably has to do with Alpha's underlying architecture -- word/byte
  288. configuration vs Internet addresses, or somesuch.  In the meantime, it is
  289. possible to run the Alpha AXP UCX version on a MultiNet system -- it works
  290. automatically in "UCX compatibility mode".  You can also use the non-network
  291. version of C-Kermit on a MultiNet system to make TCP/IP connections as
  292. follows:
  293.  
  294. $ telnet/create foo.bar.baz.com
  295. Trying... 
  296. TELNET session now connected to _NTY5:
  297. %DCL-I-ALLOC, _$4$NTY5: allocated
  298.  
  299. $ kermit
  300. C-Kermit 5A(189), 30 June 93, OpenVMS AXP
  301. Type ? or HELP for help
  302. C-Kermit>set line telnet_nty
  303. C-Kermit>connect
  304. etc...
  305.  
  306. MISCELLANEOUS
  307.  
  308. When C-Kermit is run "in a mailbox" (i.e. has been spawned by another
  309. program), it can't transfer files because it doesn't think the controlling
  310. terminal is a terminal.  Workaround: before attempting to transfer files, tell
  311. C-Kermit to "SET LINE SYS$OUTPUT".
  312.  
  313.  
  314. (End of CKVKER.BWR)
  315.